.layui-body{
    padding: 20px;
}
.chat-top{
    width: 100%;
    height: 100%;
    display: none;
}
/*默认页面样式设置*/
.chat_default{
    line-height: 24px;
    display: block;
}
.userListMain,.oldUserListMain{
    overflow: hidden;
}
/*聊天样式*/
.chat-body{
    width: 800px;
    height: 100%;
    border: solid 1px #c2c2c2;
    position: relative;
}
.chat-body .chat-body-record{
    padding: 1%;
    width: 98%;
    height: 78%;
    border-bottom: solid 1px #c2c2c2;
    overflow-y: auto;
    overflow-x: hidden;
}
.chat-body-item{
    width: 100%;
    overflow: hidden;
    margin: 10px 0;
}
.item-img{
    width: 50px;
    height: 50px;
    overflow: hidden;
    float: left;
    border-radius: 50%;
}
.item-img img{
    width: 100%;
    height: 100%;
}
.item-body{
    float: left;
    padding-left: 10px;
}
.item-body-title{
    line-height: 20px;
    font-size: 14px;
    color: #393D49;
    margin-bottom: 7px;
}
.item-body-title span{
    font-size: 12px;
    margin-left: 10px;
}
.item-body-main{
    background-color: #02a9f2;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    z-index: 99;
    max-width: 550px;
    width: max-content;
}
.item-body-main pre{
    font-family: "Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif";
    font-size: 13px;
}
.item-body-main:after {
    z-index: 1;
    content: '';
    position: absolute;
    left: -10px;
    top: 6px;
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #e2e2e2 transparent transparent;
    overflow: hidden;
    border-width: 10px;
    border-top-color: #02a9f2;
}
.chat-body .chat-speak{
    width: 100%;
    height: 19%;
    overflow: hidden;
}
.chat-body .chat-speak textarea{
    width: 98%;
    height: 90%;
    border: none;
    font-size: 14px;
    padding: 1%;
    resize:none;
}
.chat-send{
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin-right: -1px;
    margin-bottom: -1px;
}
.chat-body-item-right .item-img{
    margin-left: 10px;
}
.chat-body-item-right .item-body-main{
    float: right;
    background-color: #5FB878;
}
.chat-body-item-right .item-img,.chat-body-item-right .item-body{
    float: right !important;
}
.chat-body-item-right .item-body .item-body-title{
    text-align: right;
}
.chat-body-item-right .item-body .item-body-main:after {
    left: auto;
    right: -10px;
    border-top-color: #5FB878;
}
.chat-body-item-system{
    overflow: hidden;
    padding: 5px 0;
    text-align: center;
    color: #929191;
}
.chat-body-item-system span{
    background-color: #e2e2e2;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/*滚动条*/
::-webkit-scrollbar
{
    width: 3px;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    background-color: #000000;
}
